home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1998 January: Mac OS SDK / Dev.CD Jan 98 SDK1.toast / Development Kits (Disc 1) / AIAT 1.0.1 / Headers / Analysis / DocTextCharStream.h < prev    next >
Encoding:
Text File  |  1997-09-11  |  698 b   |  33 lines  |  [TEXT/CWIE]

  1. //    DocTextCharStream.h
  2. //    Copyright:    © 1994 - 1996 by Apple Computer, Inc., all rights reserved.
  3.  
  4. #pragma once
  5. #ifndef DocTextCharStream_h
  6. #define DocTextCharStream_h
  7.  
  8. #pragma import on
  9.  
  10. #include "IACharStream.h"
  11. #include "IACorpus.h"
  12.  
  13. #pragma IA_BEGIN_EXPORTS
  14.  
  15. class DocTextCharStream : public IACharStream {
  16. public:
  17.                 DocTextCharStream() : IACharStream(), docText(NULL) {}
  18.                 DocTextCharStream(IADocText* text) : IACharStream(), docText(text) {}
  19. //                DocTextCharStream(DocTextCharStream& dtcs) : IACharStream(dtcs) {}
  20.                  ~DocTextCharStream();
  21.  
  22.     uint32        GetNextBuffer(char* buffer, uint32 bufferLen);
  23. private:
  24.     IADocText*        docText;
  25.     
  26. };
  27.  
  28. #pragma IA_END_EXPORTS
  29.  
  30. #pragma import reset
  31.  
  32. #endif
  33.